#ifndef TOOLS_H
#define TOOLS_H

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <vector>
#include <map>
#include <sys/time.h>
#include <getch.h>
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
#include <dirent.h>

#define DEPOSIT 100

using namespace std;
char* hide_passwd(char* passwd);
void book_menu(void);
void manager_menu(void);

void get_char(void);
unsigned int generator_BookId(); //从100000开始
unsigned int generator_BookListId(); //10000-99999
unsigned int generator_ManagerId();//100-999
unsigned int generator_UserId(); //从1000000开始

#endif


